/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gardengame_simple;

/**
 *
 * @author Student
 */
public class Tile {
    
    public Tile( boolean Rock, boolean Flower, boolean Critter, int Bugs, int Index) {
        rock = Rock;
        flower = Flower;
        critter = Critter;
        bugs = Bugs;
        index = Index;
    }
    
    private boolean rock, flower, critter;
    private int bugs, index;

    public void setIndex(int index) {
        this.index = index;
    }

    public int getIndex() {
        return index;
    }
    

    public int getBugs() {
        return bugs;
    }

    public boolean isCritter() {
        return critter;
    }

    public boolean isFlower() {
        return flower;
    }

    public boolean isRock() {
        return rock;
    }
}
